package com.tuling.vipes.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Author zxl
 * @Date 2024/10/26 16:03
 * @Description：
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DatePrice implements Serializable {
    private static final long serialVersionUID = -4922855437301354574L;

    /**
     * 日期 yyyy-MM-dd
     */
    private String date;

    /**
     * 最低价
     */
    private BigDecimal minPrice;

    /**
     * 当前哪个平台的最低价
     */
    @Field(type= FieldType.Keyword)
    private String interfacePlat;

}
